import request from '@/utils/request'


export function listShop(query) {
  return request({
    url: '/store/shop/list',
    method: 'get',
    params: query
  })
}


export function addCart(data) {
  return request({
    url: '/store/cart/db',
    method: 'post',
    data: data
  })
}

// 查询菜品列表
export function listDish(query) {
	
  return request({
    url: '/store/dish/list',
    method: 'get',
    params: query
  })
}
export function listCategory(query) {
  return request({
    url: '/store/category/list',
    method: 'get',
    params: query
  })
}




export function listAdd(query) {
  return request({
    url: '/store/detail/add',
    method: 'post',
    data: query
  })
}
